/**
 * 
 */
package com.sesame.dao;

import java.util.List;

import com.sesame.domain.Ask;

/**
 * @author shubeta
 *
 */
public interface AskDAO {
    public List<Ask> getAllAsk();

    public Ask getAskByNickName(String nickName);

    public void addAsk(Ask ask);

    public void deleteAskById(Integer id);
    
    public void deleteAskByNickName(String nickName);

    public void updateAsk(Ask ask);
}
